Modules§
- Type implementations for commands issued to compensate for state changes
- Contains implementions of durable consumers of events that automatically take a message from a consumer and parse it to concrete types for consumption in a scheduler
- This is a temporary workaround to let us combine multiple topics into a single stream so consumers work properly. This will be removed once NATS 2.10 is out and we have upgraded to using it in wasmcloud projects
- Helper utilities for interacting with NATS
- A module that defines a generic publisher trait and several common publishers that can be passed into various structs in wadm. Often times this is used for testing, but it also allows for flexibility for others who may want to publish to other sources
- Various
Worker
implementations for reconciling and handling events and commands. These are essentially the default things that drive work forward in wadm
Constants§
- An annotation that denotes which model a resource belongs to
- Default topic to listen to for all commands
- Default topic to listen to for all lattice events
- Default amount of time events should stay in the stream. This is the 2x heartbeat interval, plus some wiggle room. Exported to make setting defaults easy
- The default link name. In the future, this will likely be pulled in from another crate
- Default topic to listen to for all lattice events in a multitenant deployment
- Default topic to listen to for all status updates. wadm.status.<lattice_id>.<manifest_name>
- The default listen topic for the merged wadm events stream. This topic is an amalgamation of wasmbus.evt topics plus the wadm.internal topics
- Managed by annotation used for labeling things properly in wadm
- Identifier for managed by annotation. This is the value
MANAGED_BY_ANNOTATION
is set to - An annotation that denotes which scaler is managing a resource